home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / amos / amoslist.lzh / AMOSLIST / 000214_amos-request@svcs1.digex.net_Mon Sep 18 03:38:08 1995.msg < prev    next >
Internet Message Format  |  1995-10-02  |  4KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id DAA08809;  for <mcox@access.digex.net> ; Mon, 18 Sep 1995 03:38:07 -0400
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id AAA07326 for amos-out; Mon, 18 Sep 1995 00:11:06 -0400
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id AAA07323 for <amos-list@svcs1.digex.net>; Mon, 18 Sep 1995 00:11:05 -0400
  4. Received: from mail.shlink.de (root@mail.shlink.de [194.64.6.2]) by mail1.access.digex.net (8.6.12/8.6.12) with SMTP id AAA27831;  for <amos-list@access.digex.net> ; Mon, 18 Sep 1995 00:11:01 -0400
  5. Received: from alcatraz.alcatraz.org by mail.shlink.de with bsmtp
  6.     (Smail3.1.29.1 #1) id m0suXRy-000SclC; Mon, 18 Sep 95 06:04 MET DST
  7. To: amos-list@access.digex.net
  8. Message-Id: <wXCV9MD261aRz1@p22.sixpack.pfalz.org>
  9. From: chris@sixpack.pfalz.org (Chris Hodges)
  10. Path: alcatraz.org!sixpack.pfalz.de!chris
  11. Subject: Re: bug in Pt Sam Play?
  12. Date: Sun, 17 Sep 1995 12:41:17 +0200
  13. X-Mailer: MicroDot 1.10 [REGISTERED 000261] via Connectline-CLMSortin 2.22
  14. References: <Pine.3.87.9509121152.D22550-0100000@tlti>
  15. X-Gateway: ZCONNECT US shlink.shlink.de [UNIX/Connect v0.71]
  16. MIME-Version: 1.0
  17. Content-Type: text/plain; charset=ISO-8859-1
  18. Content-Transfer-Encoding: 8bit
  19. X-Z-VIA: 19950918053845W+1@alcatraz.org
  20. X-Z-VIA: 19950917172008W+1@sixpack.pfalz.de
  21. X-Z-TELEFON: V+49-89/8005856
  22. X-Z-POST: Kennedystrasse 8; D-82178 Puchheim; Germany
  23. Lines: 56
  24. Status: RO
  25. X-Status: 
  26.  
  27. mystic@tlti.tokem.fi (Petri Hakkinen) wrote on 12.09.1995 some text under
  28. the subject bug in Pt Sam Play?. I can't leave this uncommentated ;-)
  29.  
  30. PH> Yesterday I converted my rpg adventure game which uses an amos sample bank
  31. PH> to use amcaf Pt Sam Play instructions and notices a high frequency "beep"
  32. PH> sometimes after the sample was played. The beep was continuos and barely
  33. PH> audible. I'll try to locate the exact reason for it and send you the
  34. PH> piece of code soon.
  35.  
  36. I checked this, and you were right. Normally, every sample starts with two
  37. null-bytes, so you can set the sample loop to this two bytes. The AMOS
  38. SampleBankMaker, however, doesn't do this. It sets the null-loop to
  39. another memory area.
  40.  
  41. Here's a program to fix this:
  42.  
  43. ' *************************************
  44. ' *                                   *
  45. ' *        Sam Bank Fixer V1.0        *
  46. ' *      Written by Chris Hodges      *
  47. ' *                                   *
  48. ' *************************************
  49. '
  50. ' Removes the annoying beep at the end of a sample when replaying it
  51. ' with Pt Sam Play.
  52. '
  53. Do 
  54.   F$=Fsel$("*.abk","","Select an AMOS Sample-Bank","")
  55.   Exit If F$=""
  56.   Load F$,5
  57.   ST=Start(5)
  58.   NUMSAM=Deek(ST)
  59.   Pt Sam Bank 5
  60.   For A=1 To NUMSAM
  61.     SAMAD=ST+Leek(ST+A*4-2)
  62.     Print Lsstr$(A,2);": ";Peek$(SAMAD,8);"; Freq: ";
  63.     Print Lsstr$(Deek(SAMAD+8),5);" Len: "+Lsstr$(Leek(SAMAD+10),5)
  64.     Doke SAMAD+14,0
  65.     Pt Sam Play A
  66.     Wait Key 
  67.   Next 
  68.   Save F$,5
  69.   Erase 5
  70. Loop 
  71. End
  72.  
  73. Bye, Chris Hodges <chris@sixpack.pfalz.org>      __   __
  74. A4000/40/5MB/400HD/CD; AMOS Extension-Coder __  ///  / / _____
  75. GCS d H s-:++ !g p? !au a18 w++ v? C+++     \\\///  / /_/ ___/ LOGOUT
  76. E---- N++ K- W------ -po+ t++@ !5 j-- R+ G?  \XX/   \__/ __/  FASCISM!
  77. tv- b+ D-- B? e+(++)* u++ h! f !r n+ !y+ AMIGA RULEZ!  \/
  78.  
  79. Aasleagh (n.)
  80.   A liqueur made only for drinking at the end of a revoltingly long
  81.   bottle party when all the drinkable drink has been drunk.
  82. (from: "The Deeper Meaning of Liff")
  83.